package com.example.justbuy.service.Impl;

import com.example.justbuy.mapper.EvaluateMapper;
import com.example.justbuy.pojo.Evaluate;
import com.example.justbuy.service.EvaluateMapperService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
@Service
public class EvaluateMapperServiceImpl implements EvaluateMapperService {
    @Autowired
    private EvaluateMapper evaluateMapper;

    @Override
    public int inserEvalByOrderId(HashMap map) {
        return evaluateMapper.inserEvalByOrderId(map);
    }

    @Override
    public Evaluate getByMap(HashMap map) {
        return evaluateMapper.getByMap(map);
    }
}
